package com.ruoyi.sl.domain;

import java.math.BigDecimal;

import com.ruoyi.common.core.domain.entity.SlLevel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 水产小时系数对象 sl_sa
 * 
 * @author admin
 * @date 2024-06-12
 */
public class SlSa extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long saId;

    /** 职级 */
    @Excel(name = "职级")
    private Long levelId;

    /** 模块 */
    @Excel(name = "模块")
    private Long moduleId;

    /** 车间 */
    @Excel(name = "车间")
    private Long workshopId;

    /** 大工序 */
    @Excel(name = "大工序")
    private Long gprocessId;

    /** 人工比例 */
    @Excel(name = "人工比例")
    private BigDecimal saDay;

    /** 计价 */
    @Excel(name = "计价")
    private BigDecimal saPay;

    /** 排序 */
    @Excel(name = "排序")
    private Integer saSort;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    @Excel(name = "职级名称", targetAttr = "levelName", type = Excel.Type.EXPORT)
    private SlLevel level;

    @Excel(name = "所属模块", targetAttr = "moduleName", type = Excel.Type.EXPORT)
    private SlModule module;

    @Excel(name = "所属车间", targetAttr = "workshopName", type = Excel.Type.EXPORT)
    private SlWorkshop workshop;

    @Excel(name = "所属大工序", targetAttr = "gprocessName", type = Excel.Type.EXPORT)
    private SlGprocess gprocess;


    public void setSaId(Long saId) 
    {
        this.saId = saId;
    }

    public Long getSaId() 
    {
        return saId;
    }
    public void setLevelId(Long levelId) 
    {
        this.levelId = levelId;
    }

    public Long getLevelId() 
    {
        return levelId;
    }
    public void setModuleId(Long moduleId) 
    {
        this.moduleId = moduleId;
    }

    public Long getModuleId() 
    {
        return moduleId;
    }
    public void setWorkshopId(Long workshopId) 
    {
        this.workshopId = workshopId;
    }

    public Long getWorkshopId() 
    {
        return workshopId;
    }
    public void setGprocessId(Long gprocessId) 
    {
        this.gprocessId = gprocessId;
    }

    public Long getGprocessId() 
    {
        return gprocessId;
    }
    public void setSaDay(BigDecimal saDay) 
    {
        this.saDay = saDay;
    }

    public BigDecimal getSaDay() 
    {
        return saDay;
    }
    public void setSaPay(BigDecimal saPay) 
    {
        this.saPay = saPay;
    }

    public BigDecimal getSaPay() 
    {
        return saPay;
    }
    public void setSaSort(Integer saSort) 
    {
        this.saSort = saSort;
    }

    public Integer getSaSort() 
    {
        return saSort;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public SlLevel getLevel() {
        return level;
    }

    public void setLevel(SlLevel level) {
        this.level = level;
    }

    public SlModule getModule() {
        return module;
    }

    public void setModule(SlModule module) {
        this.module = module;
    }

    public SlWorkshop getWorkshop() {
        return workshop;
    }

    public void setWorkshop(SlWorkshop workshop) {
        this.workshop = workshop;
    }

    public SlGprocess getGprocess() {
        return gprocess;
    }

    public void setGprocess(SlGprocess gprocess) {
        this.gprocess = gprocess;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("saId", getSaId())
            .append("levelId", getLevelId())
            .append("moduleId", getModuleId())
            .append("workshopId", getWorkshopId())
            .append("gprocessId", getGprocessId())
            .append("saDay", getSaDay())
            .append("saPay", getSaPay())
            .append("saSort", getSaSort())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
                .append("workshop", getWorkshop())
                .append("module", getModule())
                .append("gprocess", getGprocess())
                .append("level", getLevel())
            .toString();
    }
}
